package com.central.scheduler.api.service;

import com.central.common.model.*;
import com.central.common.service.ISuperService;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author Tindy
 * @date 2021/7/3
 * @describe
 */
public interface IQueueService extends ISuperService<QueueInfo> {
    PageResult<QueueInfo> findQueues(Map<String, Object> params);

    PageResult<QueueInfo> findQueuesByPro(Map<String, Object> params, Long currentProjectId);

    void setPros(Long queueId, Set<Long> proIds);

    List<SysProject> getPros(Long queueId);
}